<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
\${a}=${a} <br>
\${1}=${1} <br>
\${1+2}=${1+2} <br>
\${1/2}=${1/2} <br>
\${1 div 2}=${1 div 2} <br>
\${1%2}=${1%2} <br>
\${1 < 2}=${1 < 2} <br>
\${1 lt 2}=${1 lt 2} <br>
\${1 != 2}=${1 != 2} <br>
\${1 ne 2}=${1 ne 2} <br>
<%--\${a=2}=${a=2} <br> 这就相当于给域对象中存入一个key-value对：{"a":2} ,它默认放在page域中--%>
\${a}=${a} <br>
\${pageContext.a}=${pageContext.getAttribute("a")} <br>
\${pageContext.a}=${pageScope.a}   这两个是等价的\${pageContext.getAttribute("a")} <br>
\${pageContext.request.a}=${ requestScope.a}  这两个是等价的\${pageContext.request.getAttribute("a")} <br>
\${pageContext.sesssion.a}=${sessionScope.a} <br>
\${pageContext.servletContext.a}=${applicationScope.a} <br>
\${1==2  and 2}=${1==2 and 2} <br>
\${1 and 2}=${1!=2 || 2} <br>
\${!false}=${!false} <br>
\${not true}=${not true} <br>
\${not null}=${not null} <br>
&lt;%=pageContext.findAttribute("a")%&gt;=<%=pageContext.findAttribute("a")%>
</body>

</body>
</html>
